"""
数据定义的类
"""
class Record:
    # 日期
    date = None
    # 订单id
    order_id= None
    # 销售额
    amount = None
    # 省份
    province = None

    def __init__(self,date,order_id,amount,province):
        self.date = date
        self.order_id = order_id
        self.amount = amount
        self.province = province
    def __str__(self):
        return f"Record(date={self.date}, order_id={self.order_id}, amount={self.amount}, province={self.province})"